package com.inspur.cmis.service.impl;

import java.util.HashMap;
import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.inspur.cmis.mapper.MgrCertificateMapper;
import com.inspur.cmis.mapper.MgrrprMapper;
import com.inspur.cmis.pojo.MgrCmrpr;
import com.inspur.cmis.service.MgrCmrprService;
@Service("mgrCmrprService")
public class MgrCmrprServiceImpl implements MgrCmrprService{
	@Autowired
	private MgrrprMapper mgrrprMapper;
	@Override
	public void mgrrpraddAdd(MgrCmrpr mgrrpr) {
		mgrrprMapper.mgrrpraddAdd(mgrrpr);
		
	}
	@Override
	public List<MgrCmrpr> getrprList(HashMap<String, Object> map) {
		// TODO Auto-generated method stub
		return mgrrprMapper.getrprList(map);
	}
	@Override
	public void deleterpr(int[] keys) {
		// TODO Auto-generated method stub
		mgrrprMapper.deleterpr(keys);
	}
	@Override
	public List<MgrCmrpr> getrprByKey(String key) {
		// TODO Auto-generated method stub
		return mgrrprMapper.getrprByKey(key);
	}
	@Override
	public void updaterpr(MgrCmrpr mgrrpr) {
		// TODO Auto-generated method stub
		mgrrprMapper.updaterpr(mgrrpr);
	}

}
